package com.jidong.test_springboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName(value="t_router")
public class Menu {

	@TableId
	private int id;
	@TableField(value="`key`")
	private String key;
	@TableField(value="`name`")
	private String name;
	@TableField(value="component")
	private String component;
	@TableField(value="redirect")
	private String redirect;
	@TableField(value="icon")
	private String icon;
	@TableField(value="parent_id")
	private int parentId;
	@TableField(value="is_parent")
	private String isParent;
	@TableField(value="title")
	private String title;
}
